﻿<UserControl x:Class="Blackbird.Studio.View.EditableMapLayerView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ctrl="clr-namespace:Blackbird.Studio.Control"
             mc:Ignorable="d" 
             d:DataContext="{Binding Source={StaticResource ResourceKey=StaticViewModel}, Path=Instance.EditableMapLayerViewModel}">
  <UserControl.Resources>
  </UserControl.Resources>
  <Grid>
        <ctrl:ImageGrid MapWidth="{Binding Path=Model.Width}" MapHeight="{Binding Path=Model.Height}" CellHeight="{Binding Path=Model[0].Height}" CellWidth="{Binding Path=Model[0].Width}" ImageSources="{Binding Path=Tiles}"></ctrl:ImageGrid>
  </Grid>
</UserControl>